home *** CD-ROM | disk | FTP | other *** search
-
-
- - TurboGIF -
-
- Fast B&W GIF Viewer
-
- Copyright (c) 1991 by Steve Borden, All Rights Reserved.
-
- Version 1.0
-
- August 21, 1991
-
-
-
- INTRODUCTION
- ------------
- Although there are quite a few public domain and shareware GIF
- viewers/converters available, their conversion speeds leave much to
- be desired. I find it frustrating to wait up to 10 minutes to
- convert a picture just so I can decide whether the picture was even
- worth converting in the first place! To help solve this problem, I
- wrote TurboGIF, which is, to my knowledge, the fastest GIF converter
- currently available. TurboGIF will convert and display any GIF
- image three to fifteen times faster than any similar program for the
- Amiga. The average 640 x 480, 256-color GIF picture can be
- displayed by TurboGIF in about 45 seconds, from floppy disk, on an
- unaccelerated A500. (See the chart below for a speed comparison of
- TurboGIF with some other popular GIF viewers/converters.) In
- addition, TurboGIF is very small (6K), memory-efficient, and
- multitasks. 512K users shouldn't have any trouble viewing large
- images. TurboGIF was designed to handle any GIF87a file and most
- GIF89a files. The maximum image width is 1024 pixels. The maximum
- height depends mainly on the available chip RAM. The largest image
- I've successfully converted on a 1/2 meg chip RAM machine was 1024 x
- 768.
-
- The current version of TurboGIF displays images in black and white
- (sixteen shades of gray) only. This apparent "limitation" actually
- has several advantages. First, it is faster to render a black and
- white display than it is to render a color display. Second, a black
- and white display can take advantage of the Amiga's hi-res mode,
- whereas 4096 color HAM screens are limited to lo-res. In fact, in
- some instances I've actually preferred the hi-res black and white
- conversions to their lo-res HAM counterparts! Third, I originally
- designed TurboGIF because I wanted to be able to quickly view GIF
- pictures to see if they were worth converting with a more versatile
- (but slower) program such as HamLab. In most cases, a black and
- white display is fine for this. Finally, the next major release
- will have color capability (probably Dynamic Hi-Res) without a major
- sacrifice in speed.
-
- TurboGIF allows the user to adjust the contrast and brightness of an
- image, which can dramatically improve pictures that look "washed-
- out" or have "bands" of color instead of smooth color transitions.
- Normally the optimal display resolution, interlace mode, and
- overscan mode are determined automatically by the program, but the
- user can also specify these parameters and modify them while the
- picture is being viewed. If the image won't fit on the available
- screen, it can be scrolled into view with the mouse. Finally,
- registered users of TurboGIF will receive an enhanced version of the
- program which can save the converted image as an Amiga IFF file.
-
-
- USER REGISTRATION INFO
- ----------------------
- TurboGIF is being distributed as SHAREWARE. It is NOT public
- domain. I am requesting a fee of $10.00 if you find it useful.
- Registered users will receive the "complete" registered version of
- TurboGIF which can save converted images as Amiga IFF files. A
- registration form and my address can be found at the end of this
- document.
-
- The registered version of TurboGIF may NOT be distributed under any
- circumstances. The evaluation version, which lacks the 'save'
- option, may be freely distributed provided that 1) the contents of
- the original archive remain complete and unaltered, 2) no money is
- charged beyond media and shipping costs, and 3) TurboGIF is not
- bundled and sold as part of another program without my permission.
-
- There is no warranty on TurboGIF. I cannot be held responsible for
- any damages resulting from the use of this program. While I intend
- to provide reasonable support through upgrades and bug fixes, I am
- not obligated to continue this support.
-
- TurboGIF is Copyright (c) 1991 by S. Borden, All Rights Reserved.
- Both the TurboGIF source code and executable code are copyrighted.
-
- Graphics Interchange Format (c) is the Copyright property of
- CompuServe Inc. GIF (sm) is a Service Mark property of Compuserve
- Inc.
-
-
- SYSTEM REQUIRMENTS
- ------------------
- TurboGIF has been tested successfully on an unaccelerated 1-meg A500
- and an unaccelerated 1-meg A2000 under AmigaDos 1.2 and 1.3. It has
- not been tested on machines with expansion memory beyond one
- megabyte, 68020/30 processors, or AmigaDos 2.0, though I don't
- expect that these configurations will cause any problems. I'd
- appreciate any feedback as to how TurboGIF performs on expanded
- systems.
-
-
- USING TURBOGIF
- --------------
- TurboGIF runs from the CLI/Shell only. It will not run from the
- Workbench. Entering 'TurboGIF' without any parameters will give a
- summary of its command options. The complete command line format
- for TurboGIF is:
-
- TurboGIF <GIFname> [IFFname] [options]
-
- Parameters may be supplied in any order with the one restriction
- that <GIFname> must precede [IFFname]. Parameters in square
- brackets are optional. Note that the [IFFname] parameter is
- available only on the registered version of TurboGIF. Trying to use
- it on the evaluation version will result in a usage error being
- displayed.
-
- <GIFname> is the path/filename of the GIF picture to be viewed.
-
- [IFFname] is the path/filename of the IFF file to be written. If
- this parameter is not entered and the SAVE key is pressed, a default
- name of TurboScreen.IFF will be used. Again, this parameter applies
- only to the registered version of TurboGIF.
-
- [options] consist of a minus sign '-' followed by a single letter
- and an integer value. There shouldn't be any space between the
- letter and the value. The following options are available:
-
- -c<n> Adjust contrast. This option can be used to dramatically
- improve the quality of GIF images that have very faded colors or
- color "banding." It must be followed by a value from -16 to 4096.
- Positive values increase the contrast and negative values decrease
- the contrast. In practice, I've found that values between 8 and 32
- produce the best results. Experiment - you may be surprised at the
- new life a little contrast adjustment can bring to some pictures.
-
- -b<n> Adjust brightness. This option will increase or decrease the
- overall brightness of a picture. It should be followed by a value
- from -255 to 255. Use it in combination with the contrast option to
- improve image quality.
-
- -k<n> Select border color. Normally TurboGIF will set the screen
- border color to whatever the GIF file says it should be. This
- option allows you set the border color to whatever shade of gray you
- prefer. It should be followed by a value from 0 to 15, where 0
- represents black, 15 represents white, and the values in between
- represent intermediate shades of gray.
-
- -r<n> Select resolution. This option sets the initial screen
- resolution. It should be followed by 0, 1, or -1. 0 enables low
- resolution, 1 enables high resolution, and -1 tells TurboGIF to
- decide which resolution is best suited for the given picture. The
- resolution can also be changed by using the numeric keypad after the
- picture has loaded, as explained below.
-
- -i<n> Select interlace mode. This option sets the initial screen
- interlace mode. It should be followed by a 0, 1, or -1. 0 disables
- interlace, 1 enables interlace, and -1 tells TurboGIF to decide
- which mode is best suited for the given picture. The interlace mode
- can also be changed by using the numeric keypad after the picture
- has loaded, as explained below.
-
- -o<n> Select overscan mode. This option sets the initial overscan
- mode. It should be followed by a 0, 1, or -1. 0 disables overscan
- and 1 and -1 enable overscan if it is necessary. The overscan mode
- can also be changed by using the numeric keypad after the picture
- has loaded, as explained below.
-
-
- After you enter a valid command line, TurboGIF will print some
- information about the selected picture and open a screen behind the
- Workbench where the image will be displayed. You can view the
- picture as it loads by using the screen depth gadgets or Left-Amiga-
- M to flip the TurboGIF screen to the front. IMPORTANT! If the
- picture is being displayed in high-resolution mode, viewing it while
- it is loading will slow down TurboGIF.
-
- Once the picture has loaded, it will automatically be brought to the
- front. If the image is larger than the available screen, holding
- the left mouse button and moving the mouse will scroll the hidden
- parts of the image into view.
-
- You may also change the characteristics of the display while viewing
- the picture. The screen resolution, interlace mode, and overscan
- mode can be changed with the numeric keypad keys shown below. Keys
- marked 'AUTO' tell TurboGIF to use whatever mode it thinks is best
- for displaying the picture.
-
- ______ ______ ______
- |7 | |8 | |9 |
- Resolution: | LOW | | HIGH | | AUTO |
- |______| |______| |______|
- ______ ______ ______
- |4 | |5 | |6 |
- Interlace: | OFF | | ON | | AUTO |
- |______| |______| |______|
- ______ ______ ______
- |1 | |2 | |3 |
- Overscan: | OFF | | AUTO | | AUTO |
- |______| |______| |______|
-
-
- The registered version of TurboGIF contains an option to save the
- converted image as an IFF file. To do this, press SHIFT-F1 while
- viewing the picture. The picture will be written with whatever IFF
- filename was specified on the command line. If no filename was
- specified, TurboGIF will save the file as 'TurboScreen.iff' in the
- current directory.
-
- When you are finished viewing the picture, exit TurboGIF by pressing
- the right mouse button or ESC.
-
-
- EXAMPLES
- --------
- Here are a few examples of using TurboGIF:
-
- TurboGIF
- - Prints summary of TurboGIF command options.
-
- TurboGIF df1:MyAmiga.gif
- - Shows picture 'MyAmiga.gif' from floppy drive 1.
-
- TurboGIF ram:Godzilla.gif df1:Godzilla.iff
- - Shows GIF picture Godzilla.gif from RAM: disk
- - Saves IFF picture as Godzilla.iff to floppy drive 1
- - (This works only with the registered version.)
-
- TurboGIF df0:Before.gif -c16 -b40
- - Shows 'Before.gif' from floppy drive 0
- - Sets contrast to +16
- - Sets brightness to +40.
-
- TurboGIF df0:Before.gif -c16 -b40 -k15 -r0 ram:After.iff
- - Same as previous example except:
- - Screen border is forced to white
- - Screen is set to lo-res
- - IFF file will be saved as ram:After.iff
- - (The save option will work only with the registered version.)
-
-
- SPEED COMPARISON
- ----------------
- The chart below compares the rendering times of several popular GIF
- converters with TurboGIF. The test was performed on a standard A500
- with one megabyte of RAM (1/2 megabyte of chip RAM). Six pictures
- of varying dimensions and palette sizes were used. All GIF files
- were read directly from floppy disk. Any programs which produced
- intermediate or output files (HamLab, HAMSharp) were configured to
- store them in RAM for maximum speed. Times are listed in seconds.
- Footnotes are denoted with an asterisk *. This was a raw speed
- comparison only; any other merits or drawbacks of each program were
- not taken into account.
-
- -----------------------------------------------------------------------
- Picture | Desert1 | Fruits | BabyOwl | SpcWalk | Leopard | Hobbes2 |
- File Size | 283K | 304K | 160K | 43K | 41K | 7K |
- Resolution|1024x768 | 640x480 | 640x480 | 320x200 | 370x199 | 453x477 |
- No. Colors| 256 | 256 | 256 | 256 | 256 | 2 |
- -----------------------------------------------------------------------
- HamGIF | 114/187 | 178/189 | 112/125 | 41/41 | 35/35 | 37/42 |
- v2.5 *1 | | | | | | |
- VirtGIF | --- *3 | 360 | 291 | 47 | 68 | 52 |
- v2.0 | | | | | | |
- HamLab | --- *3 | 192 | 160 | 52 | 55 | 84 |
- v1.1 *2 | | | | | | |
- HAMSharp | --- *3 | 774 | 607 | 260 | 125 | 67 *4 |
- v1.5 | | | | | | |
- TurboGIF | 74 | 62 | 37 | 10 | 11 | 10 |
- v1.0 | | | | | | |
- -----------------------------------------------------------------------
-
- On the average, TurboGIF was:
-
- 3.1 - 3.4 times faster than Hamgif 2.5
- 6.0 times faster than VirtGIF 2.0
- 5.2 times faster than Hamlab 1.1
- 14.6 times faster than HamSharp 1.5
-
- *1 - HamGIF is also known as GIFFY 2.5. This program does not have
- the ability to scroll images larger than the screen, though it still
- loads the information that won't fit. This is why there are two
- times listed for each picture. The first time is how long it takes
- to fill the display, and the second time is how long it takes for
- the file to actually finish loading.
-
- *2 - HamLab conversion times can vary considerably depending on what
- dithering, scaling, and color options are chosen. For this test I
- tried to make the conversion as fast as possible. Fast Analyze, Use
- Pipes, 50% width scaling, and no dithering was used. Conversion
- times using special options are substantially longer.
-
- *3 - Program aborted or crashed because of insufficient memory when
- converting this picture.
-
- *4 - Program "converted" the picture, but resulting output was
- unrecognizable.
-
-
- FUTURE ENHANCEMENTS
- -------------------
- Here are some of the features which I am working on or considering
- for future releases of TurboGIF:
-
- -- Definitely color. Probably Dynamic Hi-res, maybe HAM.
- -- More complete support of GIF89a format.
- -- Dithering.
- -- Rough contrast/brightness adjustments while viewing.
- -- Image cropping, scaling.
- -- Enhanced window/gadget-oriented user interface.
- -- Workbench support.
- -- CTRL-C abort option.
- -- Even faster operation. (I still have a few tricks up my sleeve.)
-
-
- ACKNOWLEDGMENTS
- ---------------
- I would like to thank the following people for their various
- contributions to the development of TurboGIF.
-
- J. Edward Hanway for writing HamLab, which partially influenced me
- to write TurboGIF, and is still my personal favorite GIF converter
- (even though it is a bit slow ;-) ).
-
- Steve Blackstock for his article on LZW data compression and Timo
- Rossi for sending it to me.
-
- Ed Greenwood for helpful comments and support.
-
- My father, for proofreading this document, and promising to buy me a
- new hard drive. (Maybe?)
-
-
- REGISTRATION FORM
- -----------------
- To order a registered copy of TurboGIF (with IFF save option),
- please fill out the form below and send it with your check or money
- order for $10.00 to:
-
- S. Borden
- 40 Ballardvale Rd.
- Andover, MA 01810
-
- Please send U.S. funds only. I will provide the disk and return
- postage. Registered users will be notified of upgrades, and will
- probably be able to obtain them at lower cost. All contributions
- will go towards either new hardware or college tuition, both of
- which will, in one way or another, assist in the future development
- of TurboGIF.
-
-
- cut here
- --------------------------------------------------------------------
-
- USER REGISTRATION FORM
-
- Product: TurboGIF 1.0
-
-
- Name:_______________________________________________________________
-
-
- Address:____________________________________________________________
-
-
- City:_______________________ State:_________ Zip Code:______________
-
-
-
- Description of Your System (optional):______________________________
-
-
- ____________________________________________________________________
-
-
-
- Comments, Suggestions, Bug Reports:_________________________________
-
-
- ____________________________________________________________________
-
-
- ____________________________________________________________________
-
-
- ____________________________________________________________________
-
-
-
-